package dk.aiszone.lang.sql;

/**
 * Extension of the <code>SQLField</code> used as a constraint.
 * 
 * @author Ais
 */
public class SQLConstraintField extends SQLField {

    /**
     * Constructor for the <code>SQLConstraintField</code> object.
     * 
     * @param table
     *            The <code>SQLTable</code> containing the field.
     * @param fieldName
     *            The name of the field.
     */
    public SQLConstraintField(SQLTable table, String fieldName) {
        super(fieldName);
        setParent(table);
    }
}